home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 140
/
(Vol 140) Sep 19 2011.iso
/
Games
/
the-dark-age.swf
/
scripts
/
frame_315
/
DoAction.as
Wrap
Text File
|
2011-09-19
|
1KB
|
53 lines
stop();
if(awalSekali == true)
{
awalSekali = false;
logo_mc.gotoAndPlay(1);
muncul_mc.gotoAndPlay(1);
}
else
{
logo_mc.gotoAndStop(52);
muncul_mc.gotoAndStop(122);
}
back_btn.onRollOver = character_btn.onRollOver = new_btn.onRollOver = load_btn.onRollOver = demo_btn.onRollOver = function()
{
over();
};
back_btn.onRelease = function()
{
klik();
gotoAndStop("awal");
};
new_btn.onRelease = function()
{
klik();
petamaKali = true;
keLevel = 1;
tipePlay = "play";
removeMovieClip(area_mc);
removeMovieClip(menu_mc);
gotoAndStop("level");
};
load_btn.onRelease = function()
{
klik();
tipePlay = "play";
xjenisData = "load";
gotoAndStop("load");
};
demo_btn.onRelease = function()
{
klik();
petamaKali = true;
rand = random(4) + 5;
tipeLevel = "easy";
keLevel = rand;
keZone = 1;
totZone = xtotZone[keLevel];
tipePlay = "demo";
removeMovieClip(area_mc);
removeMovieClip(menu_mc);
gotoAndStop(381);
};